package com.gome.gop.common.exception;

public class ExceptionMessage {
	/* 错误描述 */
	private String message;
	/* 错误码 */
	private Integer code;
	public static final ExceptionMessage loginExpire = new ExceptionMessage(3004, "登录已失效，请重新登录");

	public ExceptionMessage(Integer code, String message) {
		this.code = code;
		this.message = message;
	}

	public String getMessage() {
		return message;
	}

	public Integer getCode() {
		return code;
	}
}
